<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('AdminCategory/index')}">活动报名记录</a></li>
        <!--<li><a href="{:url('AdminCategory/add')}">添加分类</a></li>-->
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('AdminWeixin/index')}">
        分类名称:
        <input type="text" class="form-control" name="keyword" style="width: 200px;"
               value="{$keyword|default=''}" placeholder="请输入姓名">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('AdminWeixin/index')}">清空</a>
    </form>

    <form method="post" class="js-ajax-form" action="{:url('AdminCategory/listOrder')}">

        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="50">ID</th>
                <th>姓名</th>
                <th>报名时间</th>
                <th>活动</th>
                <!--<th>描述</th>-->
                <th width="200">操作</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="data" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.user.user_nickname}</td>
                    <td>{$vo.ctime|date="Y-m-d H:i"}</td>
                    <td><a href="{:url('portal/activity/act_show',['id'=>$vo.activity.id])}" target="_blank">[{$vo.activity.id}]-{$vo.activity.title}</td>
                    <!--<td>{$vo.activity.content}</td>-->
                    <!--<td>-->
                        <!--<a href="{:url('AdminCategory/edit',['id'=>$vo.id])}">编辑</a>-->
                    <td><a class="btn btn-xs btn-primary btn-danger js-ajax-dialog-btn" href="{:url('AdminWeixin/act_pre_log_del',['id'=>$vo.id])}">删除</a></td>
                    <!--</td>-->
                </tr>
            </foreach>
            </tbody>
        </table>
        <ul class="pagination">{$page|default=''}</ul>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script>
    $(document).ready(function () {
        Wind.css('treeTable');
        Wind.use('treeTable', function () {
            $("#menus-table").treeTable({
                indent: 20,
                initialState: 'expanded'
            });
        });
    });

</script>
</body>
</html>